package com.cisco.vsx.email;

import java.io.Serializable;
import java.util.List;

/**
 * @author naresred
 *
 */
public class Template implements Serializable {

	private static final long serialVersionUID = 2563143259401645569L;
	
	private int id;
	private String name;
	private String description;
	private String content;
	private String locale;
	private Event event;
	private boolean active;
	private boolean defaultTemplate;
	private List<TemplateContent> images;
	private List<TemplateContent> attachments;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}	
	
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	
	public String getLocale() {
		return locale;
	}
	public void setLocale(String locale) {
		this.locale = locale;
	}
	
	public boolean isActive() {
		return active;
	}
	public void setActive(boolean active) {
		this.active = active;
	}
	
	public boolean isDefaultTemplate() {
		return defaultTemplate;
	}
	public void setDefaultTemplate(boolean defaultTemplate) {
		this.defaultTemplate = defaultTemplate;
	}
	
	public Event getEvent() {
		return event;
	}
	public void setEvent(Event event) {
		this.event = event;
	}	
	
	public List<TemplateContent> getImages() {
		return images;
	}
	public void setImages(List<TemplateContent> images) {
		this.images = images;
	}	
	
	public List<TemplateContent> getAttachments() {
		return attachments;
	}
	public void setAttachments(List<TemplateContent> attachments) {
		this.attachments = attachments;
	}
	
	@Override
	public String toString() {
		return "Template [id=" + id + ", name=" + name + ", locale=" + locale
				+ ", event=" + event + ", active=" + active
				+ ", defaultTemplate=" + defaultTemplate + "]";
	}	
	
}
